//
//  JYSearchModel.h
//  JYFarm
//
//  Created by 花花 on 2017/10/20.
//  Copyright © 2017年 花花. All rights reserved.
//

#import "BaseModel.h"

@interface JYSearchModel : BaseModel
/**
 "id": "10",
 "name": "张裕五号",
 "spec": "斤",
 "image": "http://pic.jinyoufarm.com/72df0411.jpg",
 "description": "买好菜上今优",
 "originalPrice": null,
 "price": 1.2,
 "market": 1.2,
 "sales": 0,
 "deposit": null,
 "depositObj": null,
 "categoryId": "2cd0b516-5892-4a1f-be90-73926df00e10",
 "categoryName": "哈密瓜",
 "amount": 0,
 "collect": 0,
 "pcategoryId": "efff21e2-91a1-45a9-8f61-e0e0bcdc07f0"
 
 */
@property (nonatomic, copy) NSString *ID;


//@property(nonatomic,copy)NSString *name; //搜索名字

@property(nonatomic,assign)CGFloat nameWidth;//记录名称的宽度


+ (instancetype)initWithName:(NSString *)name;
@end
